//
//  BDLoginRequest.m
//  HSY
//
//  Created by 陈浩 on 2017/4/12.
//  Copyright © 2017年 金开门. All rights reserved.
//

#import "BDLoginRequest.h"

@implementation BDLoginRequest

- (NSString *)serviceCode{
    return BD_API_SERVICE_CODE_LOGIN;
}

- (NSDictionary *)requestData{
    NSAssert(self.username.length > 0, @"用户名不能为空");
    NSAssert(self.password.length > 0, @"密码不能为空");

    NSMutableDictionary *params = [@{} mutableCopy];
    params[@"password"] = self.password;
    params[@"username"] = self.username;

    return [params copy];
}


@end
